lib/core: Support <remote>: syntax when listing refs
authorJonathan Lebon <jonathan@jlebon.com>
Fri, 16 Mar 2018 18:19:28 +0000 (14:19 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 16 Mar 2018 19:18:08 +0000 (19:18 +0000)
commit296ef25e12d1c4a49e98b3f9e0a86a31b3762a98
tree20c7402eca7321bfd458e8119359b913b54b6704
parent10fb74025d9b9b0fe124918ccbead7965c801d85
lib/core: Support <remote>: syntax when listing refs

Allow users to pass `<remote>:` to list all refs we have locally
belonging to `<remote>`. Also (re-)allow the similar `<remote>:.` syntax
for backwards compatibility with flatpak.

Closes: #1500
Approved by: cgwalters
src/libostree/ostree-repo-refs.c
tests/test-refs.sh